<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('Construction/index')}">项目管理</a></li>
			<li class="active"><a href="{:url('Construction/add')}">发起项目</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" action="{:url('Construction/add_post')}" method="post" enctype="multipart/form-data">
            <fieldset>
            	<div class="p_title">
                	<span class="span_title">发起项目</span>
                </div>
                <div class="control-group1-p">
				<div class="control-group1">
					<label class="control-label">项目名称</label>
					<div class="controls">
						<input  type="text" class="form-control" name="pro_name" value="" required/>
						<span class="form-required">*</span>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">项目类型</label>
					<div class="controls">
                    	<select name="pro_type" class="form-control">
							<option value='1'>土建土方类</option>
							<option value="2">装饰安装类</option>
							<option value="3">建筑结构类</option>
							<option value="4">绿化养护类</option>
							<option value="5">水电暖通类</option>
							<option value="6">智能弱电类</option>
							<option value="7">道路桥梁类</option>
							<option value="8">管沟架线类</option>
							<option value="9">消防水利类</option>
							<option value="10">加工制作类</option>
							<option value="11">维修加工类</option>
							<option value="12">其他类</option>
                        </select>
					</div>
				</div>                
                <div class="control-group1">
					<label class="control-label">具体位置</label>
					<div class="controls">
                    	<input  type="text" class="form-control" name="position" value=""/>
					</div>
				</div>
				<div class="control-group1">
					<label class="control-label">计划开工时间</label>
					<div class="controls">
						<input  type="text" class="form-control js-date"  name="plan_time" value="" required autocomplete="off" />
                        <span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group1">
					<label class="control-label">计划竣工时间</label>
					<div class="controls">
						<input  type="text" class="form-control js-date" name="completion_time" required autocomplete="off"/>
                        <span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group1" style="width:50%;">
					<label class="control-label">施工内容</label>
					<div class="controls">
						<input  type="text" class="form-control" name="project_name" value="" placeholder="工程量名称"/>
						<input  type="text" class="form-control" name="quantity" value="" placeholder="数量" style="width:100px"/>
						<input  type="text" class="form-control" name="unit" value="" placeholder="单位" style="width:100px"/>
					</div>
				</div>
				<div class="control-group1">
					<label class="control-label">预算造价</label>
					<div class="controls">
						<input  type="text" class="form-control" name="budget_cost" value="" required/>万
                        <span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group1">
					<label class="control-label">施工方</label>
					<div class="controls">
						<input  type="text" class="form-control" name="construction_side" value="" required/>
                        <span class="form-required">*</span>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">负责人</label>
					<div class="controls">
						<input  type="text" class="form-control" name="principal" value=""/>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">施工负责人</label>
					<div class="controls">
						<input  type="text" class="form-control" name="construction_peo" value=""/>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">联系电话</label>
					<div class="controls">
						<input  type="text" class="form-control" name="tel" value=""/>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">联系地址</label>
					<div class="controls">
						<input  type="text" class="form-control" name="address" value=""/>
					</div>
				</div>
                <div class="control-group1">
					<label class="control-label">合同上传</label>
					<div class="col-md-8">
						<input type="text" class="form-control" name="contract_upload" id="contract_upload" value="" required>
						<a onClick="uploadOne('合同上传', '#contract_upload','file')">
							<h5 class="btn btn-primary">上传</h5><span class="form-required">*</span></a>

					</div>
				</div>

                <div class="control-group1 normal">
					<label class="control-label">项目简介</label>
					<div class="controls">
						<textarea class="form-control" name="project_introduction" required></textarea>
						<span class="form-required">*</span>
					</div>
				</div>
                <div class="control-group1 normal">
					<label class="control-label">备注</label>
					<div class="controls">
						<input  type="text" class="form-control" name="remarks" value=""/>
					</div>
				</div>

                </div>
			</fieldset>
			<div class="form-actions">
				<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				<a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
</body>
</html>